//2023202104017
package eagle.util;

import lombok.Getter;
import lombok.Setter;

@Getter
@Setter
public class Pagination {
    private int pageSize = 5;
    private int pageNo = 1;
    private int totalNum = 1;

    public Pagination() {
    }
    public void Pagination1() {
    }
    public Pagination(int pageSize, int pageNo) {
        if(pageNo >0) {
            this.pageSize = pageSize;
        }

        if (pageSize >0){
            this.pageNo = pageNo;
        }
    }

}
